package service.impl;

import entity.LanguageCategory;
import mapper.LanguageMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import service.LanguageService;

import java.util.List;

/**
 * @Description
 * @Author 李楚鹏
 * @Date 2025/1/2 上午9:02
 **/
@Service("LanguageService")
public class LanguageServiceImpl implements LanguageService {

    @Autowired(required = false)
    private LanguageMapper languageMapper;

    @Override
    public List<LanguageCategory> findAll() {
        return languageMapper.getAll();
    }
}
